package org.rcy.framework.data.config.mybatis;

import org.rcy.framework.data.datasource.SimulateDataSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;

public class SimulateDataSourceConfigurer {
	
	private final Logger logger = LoggerFactory.getLogger(getClass());

	@Bean
	public SimulateDataSource dataSource() {
		logger.info("没有数据库配置，创建SimulateDataSource代理.");
		return new SimulateDataSource();
	}


}